package libnetdb.dm.assoc.dhp;
import libnetdb.dm.assoc.base.*;
import libnetdb.dm.assoc.util.*;

/**
 * This interface define the behavior of a scanner. A scanner is
 * used scan throw the whole database and in the mean time update
 * the count information in the candidate large itemsets.
 *
 * @author Cheng-Ru Lin
 * @version 1.0
 */
public interface Scanner {

    /**
     * Updates for the specified transaction.
     *
     * @param transaction the transaction to be scanned
     */
    public void scan(Itemset transaction);
}